#include<bits/stdc++.h>
using namespace std;
int i;
int main()
{
	while(1)
	{
		cout<<"Case:"<<++i<<endl;
		system("data.exe");
		system("wh.exe");
		system("std.exe");
		if(system("fc wh.out std.out")) system("pause");
	}
	return 0;
}
